home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL177.txt
- // Copyright 1996 Claris
- // -----
- // One button Site publishing
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- #define kLit1 "Publishing Your Site"
- #define kLit2 "In order to publish your Claris Home Page site on a web server, you"\
- " must have a \"site definition file\" in the folder that contains all of the"\
- " HTML files and image files you wish to include in your site."
- #define kLit3 "Note: The entire contents of your web site folder will be copied"\
- " to your web server. You should create a new folder before saving your site"\
- " definition file. This folder should contain only the site definition file,"\
- " and the documents and images that you wish to publish."
- #define kLit4 "Click here if you already have a site definition file"
- #define kLit5 "Click here if you wish to create a new site definition file"
-
- //Localized Fonts
- #if Platform_Mac
- #define SmallFont Font = {Geneva, 12, {Plain}}
- #define BigFont Font = {Geneva, 24, {Bold}}
- #else
- #define SmallFont Font = {Arial, 10, {Plain}}
- #define BigFont Font = {Arial, 24, {Bold}}
- #endif
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
- //Basic width of the dialog. Layout will follow this width. Dialog height is
- //computed from wrapped heights of the static text, and other components.
-
- #define kDialogWidth 500
- #define kChoicesWidth 480 // kDialogWidth - Margins
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- //Font used for the controls
- #define kControlFont Font = SystemFont
-
- Margin(10,10,10,10, BackColor = Dialog, Width = kDialogWidth)
- VList(Width = UseParent)
- {
- HList()
- {// site icon
- PICT(15030, DontMap);
- //#if Platform_Mac
- //icl8(133);
- //#else
- //ICON(1904);
- //#endif
-
- Spacer(Width = 10);
- StaticText(kLit1, BigFont);
- }
-
- Spacer(Height = 16, Width = 0, ScaleV);
- StaticText( kLit2, SmallFont, Width = UseParent, Alignment = Left );
- Spacer(Height = 8, Width = 0, ScaleV);
- StaticText( kLit3, SmallFont, Width = UseParent, Alignment = Left );
-
- //Radio buttons
- Spacer(Height = 16, Width = 0, ScaleV);
- RadioButton(kLit4, createNewSite, 0, Width = kChoicesWidth, Height = 18, kControlFont);
- Spacer(Height = 6, Width = 18, ScaleV);
- RadioButton(kLit5, createNewSite, 1, Width = kChoicesWidth, Height = 18, kControlFont);
- Spacer(Height = 16, Width = 0, ScaleV);
-
- StandardDialogButtonsH;
- } //VList
-
-